MultiSafepay\WooCommerce\PaymentMethods\Base\BasePaymentMethod B

Total Complexity 88
Dependencies 9
Dependents 3
Total lines 684
Lines of code 418
Logical lines of code 170
Comment lines 118
Methods 26
Properties 8

Methods 26

Method Rating Maintainability Complexity Lines of code
enqueue_multisafepay_scripts_by_gateway_code()
B
43 20 41
add_form_fields()
A
33 8 122
validate_fields()
A
52 9 23
is_woocommerce_checkout_block_active()
S
61 5 12
common_wallets_data()
S
55 4 19
build_googlepay_wallet_variables()
S
53 3 24
__construct()
S
46 2 38
process_payment()
S
53 3 21
build_applepay_wallet_variables()
S
55 3 19
get_google_apple_pay_use_button()
S
66 4 7
enqueue_payment_component_scripts()
S
60 3 12
enqueue_payment_component_styles()
S
64 3 11
is_payment_component_enabled()
S
63 3 10
can_refund_order()
S
70 3 6
has_fields()
S
72 2 6
is_tokenization_enabled()
S
67 2 7
get_payment_method_type()
S
73 2 6
get_payment_method_gateway_code()
S
81 1 3
get_order_statuses()
S
72 1 5
get_payment_method_icon()
S
81 1 3
payment_fields()
S
80 1 3
get_logo()
S
81 1 3
get_payment_method_title()
S
81 1 3
get_payment_method_description()
S
70 1 7
get_payment_method_id()
S
80 1 3
get_countries()
S
76 1 4